<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Prize extends Model
{
    protected $fillable = [
        'name',        // 奖品名称
        'probability', // 中奖概率
        'stock',       // 库存
        'status',      // 状态：1-启用，0-禁用
    ];

    protected $casts = [
        'probability' => 'float',
        'stock' => 'integer',
        'status' => 'integer',
    ];
} 